<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <title>Live2D</title>
    <script src="https://cdn.jsdelivr.net/npm/live2d-widget/lib/L2Dwidget.min.js"></script>
</head>
<body>
    <script type="text/javascript">
        L2Dwidget.on('*', (name) => {
            console.log('%c EVENT ' + '%c -> ' + name, 'background: #222; color: yellow', 'background: #fff; color: #000')
        })
        .init({
            dialog: {
                // 开启对话框
                enable: true,
            }
        });    
        
    </script>
</body>
</html>